import jmetal.base.*;
import jmetal.base.operator.crossover.*   ;
import jmetal.base.operator.mutation.*    ; 
import jmetal.base.operator.selection.*   ;
import jmetal.problems.*;  
import jmetal.util.Configuration;
import jmetal.util.JMException;
import java.io.IOException;
import java.util.logging.FileHandler;
import java.util.logging.Logger;
import P3.Cycling;
import jmetal.qualityIndicator.QualityIndicator;

import jmetal.metaheuristics.ibea.IBEA_main;
import jmetal.metaheuristics.nsgaII.*;
import jmetal.metaheuristics.spea2.*;
import jmetal.metaheuristics.ibea.IBEA_main2;

//Driver for exercise 1
class EX2_Driver
{
	public static void main(String[] args)
	{
		NSGAII_main2 a1 = new NSGAII_main2();
		SPEA2_main2 a2 = new SPEA2_main2();
		IBEA_main2 a3 = new IBEA_main2();
		
		//setting parameter
		String women = "WomenCycleSolutionType";
		String men = "MenCycleSolutionType";
		int fix = 1;//0=not fix , 1=fix
		
		try {

			a1.run(men, fix);

		
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}